package com.cloud.feign.consumer.entity;

public class User {
	String name;
	Integer age;
	/**
	 * 必须有默认的构造函数，否则spring cloud feign根据JSON字符串转换User对象时会抛出异常
	 */
	public User()
	{
		
	}
	public User(String name,Integer age)
	{
		this.name=name;
		this.age=age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	
}
